package cn.gs.service;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import cn.gs.dao.SelectSuperDao;
import cn.gs.dao.SelectSuperDaoImpl;
import cn.gs.dao.SelectVisitDao;
import cn.gs.domain.Customer;
@Component(value = "selectSuperService")
@Scope("prototype")
public class SelectSuperServiceImpl implements SelectSuperService {
	
	
	
	@Resource(name="selectSuperDao")
	SelectSuperDao selectSuperDao;
	public void setSelectSuperDao(SelectSuperDao selectSuperDao) {
		this.selectSuperDao = selectSuperDao;
	}
	
	@Override
	public List<Customer> selectd() {
		SelectSuperDao selectSuperDao1 =new SelectSuperDaoImpl();
		List<Customer> list=selectSuperDao1.selectd();
		return list;
	}

	@Override
	public List<Customer> selectw() {
		SelectSuperDao selectSuperDao1 =new SelectSuperDaoImpl();
		List<Customer> list=selectSuperDao1.selectw();
		return list;
	}

	@Override
	public List<Customer> selectk() {
		SelectSuperDao selectSuperDao1 =new SelectSuperDaoImpl();
		List<Customer> list=selectSuperDao1.selectk();
		return list;
	}

}
